Expo Router
The File-based router for universal React Native apps
アプリこれでできるのかなり良さそうmrsekut.icon
bottom-tabとかも対応してるの?
Dynamic routes
code:ts
<Link
href={{
pathname: "/(app)/note/note", params: {
note: item.id,
},
}}
</Link>
code:ts
const router = useRouter();
router.push({
pathname: "/(app)/note/note", params: {
note: item.id,
},
});
Layout Root
nextのlayoutと同じ
Groups
nextのgroupと同じ
Modal
Typed routes
DeepLink
bacontext://note/{noteId}
Async routes
Static Rendering
web関連
v1.0
v3 beta